package com.vcredit.creditcat.vo;

import java.io.Serializable;
import java.util.Map;

import com.vcredit.creditcat.model.CustProductApply;

/**
 * 产品申请结果实体 （与第三方产品对接）
 * @author zhaoqi01
 *
 */
public class ProductApplyResultVo implements Serializable{

	private static final long serialVersionUID = -5648234557620395037L;

	private int code; // 申请结果  0：参数还未正常提交过去  1:参数已提交，正常封装结果数据
	
	private String msg; // 结果详细
	
	private CustProductApply custProductApply; // 结果数据
	
	private Map<String,Object> otherResult; // 其他的结果数据
	
	public ProductApplyResultVo() {
		super();
	}
	
	public ProductApplyResultVo(CustProductApply custProductApply) {
		super();
		this.code = 1;
		this.custProductApply = custProductApply;
	}
	
	public ProductApplyResultVo(String msg) {
		super();
		this.msg = msg;
	}
	
	public ProductApplyResultVo(int code, String msg,
			CustProductApply custProductApply) {
		super();
		this.code = code;
		this.msg = msg;
		this.custProductApply = custProductApply;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public CustProductApply getCustProductApply() {
		return custProductApply;
	}

	public void setCustProductApply(CustProductApply custProductApply) {
		this.custProductApply = custProductApply;
	}

	public Map<String, Object> getOtherResult() {
		return otherResult;
	}

	public void setOtherResult(Map<String, Object> otherResult) {
		this.otherResult = otherResult;
	}
	
}
